package com.hjl.spring.hom.printer;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @author ServivE
 * @version 0.1
 * @className Printer
 * @description
 * @date 2024/8/5 17:29
 * @since jdk11
 */
@Data
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class Printer {
    private Ink ink;
    private Paper paper;

    public Printer(GrayInk grayInk) {

    }

    //    输出打印机配置
    public void printerInfo() {
        System.out.println("输出打印机配置");
        ink.printInkInfo();
        paper.printPaperInfo();
    }
}
